package Tables;

import java.awt.Dimension;
import java.awt.Toolkit;


public class TableGetXY {
	public  int upperLeftX;
	public int upperLeftY;
	public TableGetXY() {
		 CustomerTableInterface myInterface=new CustomerTableInterface();
		 myInterface.setSize(920, 750);
		 Toolkit kit = myInterface.getToolkit();
		 Dimension screenSize = kit.getScreenSize();
		 int screenWidth = screenSize.width;
		 int screenHeight = screenSize.height;
		 Dimension windowSize = myInterface.getSize();
		 int windowWidth = windowSize.width;
		 int windowHeight = windowSize.height;
		 upperLeftX = (screenWidth - windowWidth)/2;
		 upperLeftY = (screenHeight - windowHeight)/2;
	}

}
